<%--
  Created by IntelliJ IDEA.
  User: ASUS
  Date: 2017/12/4
  Time: 11:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <jsp:include page="../common/common.jsp"/>
    <script type="text/javascript" src="/static/js/system/carproduct.js"></script>
</head>
<body>
        <table id="carp_datagrid"></table>

        <div id="tb">
        <a  class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">新增</a>
        <a  class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>
        <a  class="easyui-linkbutton" data-options="iconCls:'icon-no',plain:true" data-cmd="changeState" id="changState_btn">停售</a>
        <a  class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="brush">刷新</a>

        <input id="keyword" class="easyui-textbox" prompt="名称/机构/编号">
         <select id="state" name="state" class="easyui-combobox" style="width: 150px">
                <option value="-1">--所有状态--</option>
                <option value="0">停售</option>
                <option value="1">在售</option>
         </select>
            <a  class="easyui-linkbutton" iconCls="icon-search" plain="true" data-cmd="query">查询</a>
        </div>

        <div id="bt">
            <a  class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" data-cmd="save">保存</a>
            <a  class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancel">取消</a>
        </div>


        <div id="carp_dialog">
            <form id="carp_form">
                <input type="hidden" name="id">
                <table align="center" style="margin:0 auto;margin-top:20px">
                    <tr>
                        <td>
                            <input label="保险编号:" class="easyui-numberbox" data-options="prompt:'请输入您的保险编号',validType:['integer','length[0,12]']" name="sn" style="width: 250px;" labelWidth="90px">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <input label=" 保险名称:" class="easyui-textbox" name="name" style="width: 250px;" labelWidth="90px">
                        </td>
                    </tr>
                    <tr>

                        <td>
                            <input label=" 保险机构:" type="text" class="easyui-combobox" name="mech.id" style="width: 250px;" labelWidth="90px" data-options="panelHeight:'auto',url:'/mechanism/listAll.do',valueField:'id',textField:'name'">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <input label="保额:" class="easyui-numberbox" name="insured"  data-options="prompt:'请输入您的保险编号',validType:['integer','length[0,12]']"  style="width: 250px;" labelWidth="90px">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <input label=" 基本年费:" class="easyui-numberbox" data-options="prompt:'请输入您的基本年费',validType:['integer','length[0,12]']" name="moneyYear" style="width: 250px;" labelWidth="90px">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <select label="不计免赔:" class="easyui-combobox" name="admin" style="width:250px" data-options="panelHeight:'auto'"  labelWidth="90px">
                                <option value="1">是</option>
                                <option value="0">否</option>
                            </select>
                        </td>
                    </tr>
                </table>
            </form>
        </div>
</body>
</html>
